NoMethodError in _login_bar.html.erb
-
Peter Liu
I narrowed the problem down to login_path(login). That's where the problem is. BTW, I'm using Login as my model instead of User.
-
Peter Liu
- Tag set to routing
I think I may have figured out. The problem is in the route. There is already a login_path and since my model is Login, it's causing a confusion with the routes. It may be good to add it to the instruction to not use Login as the model. I'm still new with Rails and Git so don't know how to contribute yet. I'm also just learning how to use Light House so I hope this ticket is OK.
Thank you.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
